package com.hello.pet.service.system.param;

import com.hello.pet.service.system.model.User;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;

@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel("微信登录入参")
public class WxLoginParam {

    @NotNull(message = "code不能为空!")
    @ApiModelProperty("code")
    private String code;

    @NotNull(message = "用户信息不能为空!")
    private User user;
}
